/**
* @file osal_task.h
* @brief [OSAL]Operating System Abstraction Layer 
* @details 
* @author huangbin
* @version V1.0.0
* @date 2025-04-25
* @copyright All documents are copyrighted by Shenzhen Xinlongwei Technology Co., LTD.
*            They may not be used for commercial purposes without permission
*/

#ifndef __OSAL_TASK_H__
#define __OSAL_TASK_H__
#include "inc.h"

/**任务函数指针类型*/
typedef uint32_t (*pTaskEventHandlerFn)(uint8_t task_id,uint32_t event);


/**任务函数数组声明*/
extern const pTaskEventHandlerFn tasksArr[];

/**任务事件表声明*/
extern uint32_t taskEventsTable[]; 

/**任务计数声明*/
extern const uint8_t tasksCnt;

/**
* @brief 任务初始化
*/ 
extern void osalTasksInit( void );



#endif

